﻿
namespace Besture.Common.Helper
{
    public class EnumHelper
    {
        #region 订单模块枚举

        /// <summary>
        /// 订单状态
        /// </summary>
        public enum OrderStatusEnum
        {
            /// <summary>
            /// 等待收款
            /// </summary>
            WaittingPayment = 1,

            /// <summary>
            /// 等待发货
            /// </summary>
            WaittingDelivery = 2,

            /// <summary>
            /// 订单完成
            /// </summary>
            OrderComplete = 3,

            /// <summary>
            /// 订单取消
            /// </summary>
            OrderCancel = 4,

            /// <summary>
            /// 订单取消
            /// </summary>
            OrderFail = 5,

            /// <summary>
            /// 审核通过
            /// </summary>
            OrderAudit = 0,

            /// <summary>
            /// 审核通过
            /// </summary>
            OrderTheauditBy = 1,

            /// <summary>
            /// 审核失败
            /// </summary>
            OrderAuditfailure = 2,

            /// <summary>
            /// 已付款
            /// </summary>
            OrderPaid = 3,
            
            /// <summary>
            /// 订单取消
            /// </summary>
            OrderCancellatiOn=4
        }

        /// <summary>
        /// 支付方式
        /// </summary>
        public enum PayWayEnum
        {
            /// <summary>
            /// 支付宝
            /// </summary>
            Alipay = 1,

            /// <summary>
            /// 网银支付
            /// </summary>
            InternetBanking = 2,

            /// <summary>
            /// 优惠券
            /// </summary>
            Coupon = 3,

            /// <summary>
            /// 财付通
            /// </summary>
            Tenpay = 4
        }

        #endregion

        public enum SQLType
        {
            Insert,
            Update,
            DeleteUpdate
        }
    }
}
